package cn.iocoder.yudao.module.jifenyuan.dal.dataobject.room;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import cn.iocoder.yudao.module.jifenyuan.dal.dataobject.roomuserbind.RoomUserBindDO;
import cn.iocoder.yudao.module.jifenyuan.dal.dataobject.roomuserbind.RoomUserBindWithInfoDO;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.time.LocalDateTime;
import java.util.List;

@Data
@EqualsAndHashCode()
@ToString(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class RoomWithUsersDo {
    /**
     * id
     */
    @TableId
    private Long id;
    /**
     * 房间名称
     */
    private String roomName;

    private LocalDateTime createTime;
    List<RoomUserBindWithInfoDO> partners;
}
